package edu.zut.hb.software.capiturevictor.message.producer;


import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;

public class reader {
	public String getString() throws IOException {
		String dir = "D:\\cptvt\\capiturevictor\\source.txt";
		File file = new File(dir);
		
		//创建FileReader对象，读取文件中的内容
		FileReader reader = new FileReader(file);
		char[] ch = new char[100];
		reader.read(ch);
		reader.close();
		return dir;
		

	}

}
